#
# Copyright 2021-2023 Software Radio Systems Limited
#
# This file is part of srsRAN
#
# srsRAN is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version.
#
# srsRAN is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# A copy of the GNU Affero General Public License can be found in
# the LICENSE file in the top-level directory of this distribution
# and at http://www.gnu.org/licenses/.
#

add_library(srsran_ran
        csi_report/csi_report_config_helpers.cpp
        csi_report/csi_report_unpacking.cpp
        csi_report/csi_report_unpacking_helpers.cpp
        csi_rs/csi_rs_pattern.cpp
        csi_rs/csi_rs_config_helpers.cpp
        csi_rs/frequency_allocation_type.cpp
        pdcch/cce_to_prb_mapping.cpp
        pdcch/dci_packing.cpp
        pdcch/pdcch_candidates.cpp
        pdcch/pdcch_type0_css_coreset_config.cpp
        pdcch/pdcch_type0_css_occasions.cpp
        pdsch/dlsch_info.cpp
        pdsch/pdsch_mcs.cpp
        pdsch/pdsch_antenna_port_mapping.cpp
        prach/prach_configuration.cpp
        prach/prach_cyclic_shifts.cpp
        prach/prach_frequency_mapping.cpp
        prach/prach_preamble_information.cpp
        prach/prach_helper.cpp
        precoding/precoding_codebooks.cpp
        pusch/pusch_mcs.cpp
        pusch/pusch_uci_beta_offset.cpp
        pusch/ulsch_info.cpp
        uci/uci_part2_size_calculator.cpp
        band_helper.cpp
        resource_allocation/resource_allocation_frequency.cpp
        sch/sch_segmentation.cpp
        ssb_freq_position_generator.cpp
        ssb_gscn.cpp
        ssb_mapping.cpp
        tdd_ul_dl_config.cpp)
target_link_libraries(srsran_ran srslog)

install(TARGETS srsran_ran
        EXPORT srsran_export)
